<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SLU 
 * All portions are Copyright (C) 2008-2010 Openbravo SLU 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Module Detail</title>
  <link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" id="paramCSS"> 
  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
  <script language="JavaScript" type="text/javascript" id="paramLanguage">defaultLang="en_US";</script>
  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/genericTree.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/appStatus.js" type="text/javascript"></script>
  
  <script language="JavaScript" type="text/javascript" id="paramDirectory"></script>
  <script language="JavaScript" type="text/javascript">
  function viewModule(id) {
    document.frmMain.inpcRecordId.value = id;
    submitCommandForm('DETAIL', false, null, 'ModuleManagement.html', '_self', null, false);return false;
  }
  </script>
  <script language="JavaScript" type="text/javascript">
function onLoadDo(){
    this.windowTables = new Array(
      new windowTableId('client', 'buttonCancel')
    );
    setWindowTableParentElement();
    enableShortcuts('edition');
    setBrowserAutoComplete(false);
    disableButton('buttonContinue');
    setWindowElementFocus('acceptOption','id');
    gt_setFocusNode('1','node');
  }

  function onResizeDo(){
  }
  
  function callback(paramXMLParticular, XMLHttpRequestObj) {
    if (getReadyStateHandler(XMLHttpRequestObj)) {
      try {
        if (XMLHttpRequestObj.responseText) {
          strText = XMLHttpRequestObj.responseText;
          document.getElementById("license").innerHTML=strText;
        }
        
      } catch (e) {
      }
      
    }
    return true;
  }
  
  function viewModuleAgreement(id){
    var frm = document.frmMain;
    document.getElementById("paramKey").value=id;
    var paramXMLReq = null;
    return submitXmlHttpRequest(callback, null, "LICENSE", "ModuleManagement.html", false, null, paramXMLReq);
  }
  
  </script>    
</head><body leftmargin="0" topmargin="0" onload="onLoadDo();" onresize="onResizeDo();" marginheight="0" marginwidth="0">
<form autocomplete="off" id="form" method="post" action="CopyFromPOOrder.html" name="frmMain">
  <input name="Command" type="hidden">
  <input name="IsPopUpCall" value="1" type="hidden">
  <input name="inpcRecordId" value="" id="paramKey" type="hidden">
  

  <div class="Popup_ContentPane_CircleLogo">
    <div class="Popup_WindowLogo">
      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_moduleInstall" src="../../../../../web/images/blank.gif" border="0">
    </div>
  </div>

  <table width="100%" cellpadding="0" cellspacing="0">

    <tbody><tr>
      <td>
        <table class="Popup_ContentPane_NavBar" cellpadding="0" cellspacing="0">
          <tbody><tr class="Popup_NavBar_bg"><td></td>
            <td class="Popup_NavBar_separator_cell"></td>
            <td class="Popup_NavBar_bg_logo_left"></td>
            <td class="Popup_NavBar_bg_logo" onclick="openNewBrowser('http://www.openbravo.com', 'Openbravo');return false;" width="1"><img src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" id="openbravoLogo" class="Popup_NavBar_logo" border="0"></td>
            <td class="Popup_NavBar_bg_logo_right"></td>
            <td class="Popup_NavBar_Popup_title_cell"><span>License Agreements</span></td>
            <td class="Popup_NavBar_separator_cell"></td>
          </tr>
        </tbody></table>
      </td>
    </tr>

    <tr>
      <td>
        <table class="Popup_ContentPane_SeparatorBar" cellpadding="0" cellspacing="0">
          <tbody><tr>
            <td class="Popup_SeparatorBar_bg"></td>
          </tr>
        </tbody></table>
      </td>
    </tr>



    <tr>
      <td>
        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
        <!-- MessageBox -->

                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
                              <tbody>
                              <tr class="MessageBox_TopMargin">
                                <td class="MessageBox_LeftMargin"></td>
                                <td></td>
                                <td class="MessageBox_RightMargin"></td>
                              </tr>
                              <tr>
                                <td class="MessageBox_LeftMargin"></td>
                                <td>

                                  <table cellpadding="0" cellspacing="0" class="MessageBox_Container">
                                    <tbody>
                                    <tr>
                                      <td class="MessageBox_LeftTrans">
                                        <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
                                          <tbody>
                                          <tr>
                                            <td class="MessageBox_TopLeft"></td>
                                          </tr>
                                          <tr>
                                            <td class="MessageBox_Left"></td>
                                          </tr>
                                          </tbody>
                                        </table>
                                      </td>
                                      <td class="MessageBox_bg">

                                        <table class="MessageBox_Top">
                                        <tbody>
                                          <tr>
                                            <td>
                                              <span>
                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
                                                <tbody>
                                                <tr>
                                                  <td class="MessageBox_Icon_ContentCell">
                                                    <div class="MessageBox_Icon"></div>
                                                  </td>
                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
                                                    <span>
                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
                                                        xxInfo: AccessTableWithNoView
                                                      </div>
                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
                                                        xxThe current information is empty.
                                                      </div>
                                                      <div class="MessageBox_TextSeparator"></div>
                                                    </span>
                                                  </td>
                                                </tr>
                                                </tbody>
                                              </table>
                                              </span>
                                            </td>
                                          </tr>
                                          </tbody>
                                        </table>

                                      </td>
                                      <td class="MessageBox_RightTrans">
                                        <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
                                          <tbody>
                                          <tr>
                                            <td class="MessageBox_TopRight"></td>
                                          </tr>
                                          <tr>
                                            <td class="MessageBox_Right"></td>
                                          </tr>
                                          </tbody>
                                        </table>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td rowspan="2" class="MessageBox_BottomLeft">
                                      </td>
                                      <td class="MessageBox_BottomTrans MessageBox_bg">
                                      </td>
                                      <td rowspan="2" class="MessageBox_BottomRight">
                                      </td>
                                    </tr>
                                    <tr>
                                      <td class="MessageBox_Bottom">
                                      </td>
                                    </tr>
                                    </tbody>
                                  </table>

                                </td>
                                <td class="MessageBox_RightMargin"></td>
                              </tr>
                              <tr class="MessageBox_BottomMargin">
                                <td class="MessageBox_LeftMargin"></td>
                                <td></td>
                                <td class="MessageBox_RightMargin"></td>
                              </tr>
                              </tbody>
                            </table>      
                            
          <table class="Popup_Client_TablePopup" cellpadding="0" cellspacing="0">

            <tbody><tr>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
            </tr>

<tr>
              <td class="PlainText_normal" colspan="4" style="padding: 0 0 10 0; text-align: left;">Select modules, packs or industry templates in the top box to view the license agreements and select Continue to start installing</td>
            </tr>
            <tr>
              <td colspan="4">
                <div style="height: 0px; width: 0px;"><input class="DataGrid_Table_Dummy_Input" id="genericTree_dummy_input" type="text"></div>
                <div class="TextArea_FourCells_width Tree_Container" style="height: 100px;" id="genericTree" onclick="gt_focusTreeContainer(this);" onmousedown="gt_focusTreeContainer(this);"> 
                  <div style="padding: 20px;">
                  
                    <FIELD_TMP id="moduleSelected">
                      <div class="Label_ReadOnly_Text">Selected installations:</div>
                      <div style="height: 10px;"></div>
                      <FIELD_TMP id ="modulesSel">
                        <div class="Tree_Row" name="node_xx" onclick="gt_setFocusNode(this);" onmouseover="gt_hoverNode(this);" onmouseout="gt_unhoverNode(this);" onfocus="viewModuleAgreement('xx');" id="agree0">
                         <div class="Tree_Text_Container">
                           <div class="Tree_Text_Title" id="name">
                              <span id="modulename0">xxdep1</span>&nbsp;
                              <span id="moduleversion0">xxver</span>
                           </div>
                         </div>
                        </div>
                      </FIELD_TMP>
                    </FIELD_TMP>
                  
                    <FIELD_TMP id="moduleIntallation">
                      <div class="Label_ReadOnly_Text">Required additional installations:</div>
                      <div style="height: 10px;"></div>
                      <FIELD_TMP id ="modulesInst">
                        <div class="Tree_Row" name="node_xx" onclick="gt_setFocusNode(this);" onmouseover="gt_hoverNode(this);" onmouseout="gt_unhoverNode(this);" onfocus="viewModuleAgreement('xx');" id="agree1">
                         <div class="Tree_Text_Container">
                           <div class="Tree_Text_Title" id="name">
                              <span id="modulename1">xxdep1</span>&nbsp;
                              <span id="moduleversion1">xxver</span>
                           </div>
                         </div>
                        </div>
                      </FIELD_TMP>
                    </FIELD_TMP>
                    
                    <FIELD_TMP id="moduleUpdate">
                      <div style="height: 15px;"></div>
                      <div class="Label_ReadOnly_Text">Required additional updates:</div>
                      <div style="height: 10px;"></div>
                      <FIELD_TMP id ="modulesUp">
                        <div class="Tree_Row" name="node_xx" onclick="gt_setFocusNode(this);" onmouseover="gt_hoverNode(this);" onmouseout="gt_unhoverNode(this);" onfocus="viewModuleAgreement('xx');" id="agree2">
                         <div class="Tree_Text_Container">
                           <div class="Tree_Text_Title" id="name">
                              <span id="modulaname2">xxdep1</span>&nbsp;
                              <span id="moduleversion2">xxver</span>
                           </div>
                         </div>
                        </div>
                      </FIELD_TMP>
                    </FIELD_TMP>
                  </div>
                </div>
              </td>
            </tr>

            <tr><td height="20"></td></tr>

            <tr>
              <td colspan="4">
                <div class="TextArea_FourCells_width PlainText_normal" style="background-color: white; border: 1px solid #7F9DB9; height: 100px; overflow: auto;">
                  <div style="padding: 5px;" id="license">
                  </div>
                </div>
              </td>
            </tr>

            <tr><td height="5"></td></tr>

            <tr>
              <td colspan="4"><span class="Radio_container_NOT_Focused"><input name="accepted" id="acceptOption" required="true" value="N" type="radio" onclick="enableButton('buttonContinue');"></span><span class="PlainText_normal" style="padding: 0 0 0 10;">I accept all license agreements</span></td>
            </tr>
            <tr>
              <td colspan="4"><span class="Radio_container_NOT_Focused"><input name="accepted" required="true" value="N" type="radio" onclick="setTimeout('disableButton(\'buttonContinue\');',50);"></span><span class="PlainText_normal" style="padding: 0 0 0 10;">I do not accept all license agreements</span></td>
            </tr>

            <tr><td height="20"></td></tr>
            <tr>
              <td></td>
              <td class="Button_RightAlign_ContentCell">
                <div>
                  <button type="button" 
                    id="buttonContinue" 
                    class="ButtonLink" 
                    onclick="setProcessingMode('popup', true); submitCommandForm('INSTALL3', false, null, 'ModuleManagement.html', '_self', null, false);return false;" 
                    onfocus="buttonEvent('onfocus', this); window.status='Continue'; return true;" 
                    onblur="buttonEvent('onblur', this);" 
                    onkeyup="buttonEvent('onkeyup', this);" 
                    onkeydown="buttonEvent('onkeydown', this);" 
                    onkeypress="buttonEvent('onkeypress', this);" 
                    onmouseup="buttonEvent('onmouseup', this);" 
                    onmousedown="buttonEvent('onmousedown', this);" 
                    onmouseover="buttonEvent('onmouseover', this); window.status='Continue'; return true;" 
                    onmouseout="buttonEvent('onmouseout', this);">
                    <table class="Button">
                      <tr>
                        <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Continue" title="Continue" src="../../../../../web/images/blank.gif" border="0" /></td>
                        <td class="Button_text Button_width">Continue</td>
                        <td class="Button_right"></td>
                      </tr>
                    </table>
                  </button>
                </div>
              </td>
              <td class="Button_LeftAlign_ContentCell">
                <div>
                  <button type="button" 
                    id="buttonCancel" 
                    class="ButtonLink" 
                    onclick="closePage();return false;" 
                    onfocus="buttonEvent('onfocus', this); window.status='Cancel'; return true;" 
                    onblur="buttonEvent('onblur', this);" 
                    onkeyup="buttonEvent('onkeyup', this);" 
                    onkeydown="buttonEvent('onkeydown', this);" 
                    onkeypress="buttonEvent('onkeypress', this);" 
                    onmouseup="buttonEvent('onmouseup', this);" 
                    onmousedown="buttonEvent('onmousedown', this);" 
                    onmouseover="buttonEvent('onmouseover', this); window.status='Cancel'; return true;" 
                    onmouseout="buttonEvent('onmouseout', this);">
                    <table class="Button">
                      <tr>
                        <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border="0" /></td>
                        <td class="Button_text Button_width">Cancel</td>
                        <td class="Button_right"></td>
                      </tr>
                    </table>
                  </button>
                </div>
              </td>
              <td></td>
            </tr>
        </tbody></table>
      </div>
    </td>
  </tr>
</tbody></table>



</form></body></html>